<div class="lv-form-label-box" [ngClass]="{ 'lv-form-label-tips-box': lvLabelTip }">
  <ng-container *ngIf="lvLabelTip; else contentTpl">
    <ng-container [ngTemplateOutlet]="contentTpl"></ng-container>
    <span *ngIf="lvRequired" class="lv-form-label-required-base">*</span>
    <ng-container *ngIf="typeUtils.isRealString(lvLabelTip)">{{ lvLabelTip }}</ng-container>
    <ng-container *ngIf="typeUtils.isTemplateRef(lvLabelTip)" [ngTemplateOutlet]="lvLabelTip"></ng-container>
  </ng-container>
  <!-- 兼容帮助按钮未使用lvLabelTip，嵌套在<lv-form-label>标签内且没有必填项的场景(历史遗留demo代码兼容) -->
  <ng-template #contentTpl>
    <ng-content></ng-content>
  </ng-template>
</div>
